#include <cstdlib>
#include <iostream>

using namespace std;

extern int UserStat[8];
extern int DeptStat[8];
extern int PwrStat[10];
extern int DeptPwr[10];
extern string Name;
extern string Cmd;
extern int Pass;
extern bool Wel;
extern bool Muye;
extern bool Yu;
extern bool temp1;
extern bool temp2;
extern bool temp3;
extern bool temp4;
extern bool temp5;

void Debug()
{
     system("cls");
     cout << "====================================" << endl;
     cout << "         DEBUG INFORMATION" << endl;
     cout << "UserStat(Encrypted):" << endl;
     for(int x(0); x<8; x++)
     cout << "(" << x+1 << ")" << UserStat[x] << endl;
     cout << "UserStat:" << endl;
     for(int x(0); x<8; x++)
     cout << "(" << x+1 << ")" << DeptStat[x] << endl;
     cout << "PowerStat(Encrypted)" << endl;
     for(int x(0); x<10; x++)
     cout << "(" << x+1 << ")" << PwrStat[x] << endl;
     cout << "PowerStat" << endl;
     for(int x(0); x<10; x++)
     cout << "(" << x+1 << ")" << DeptPwr[x] << endl;
     cout << "Username: " << Name << endl;
     cout << "LastCmd: " << Cmd << endl;
     cout << "Password: " << Pass << endl;
     cout << "Wel:" << Wel << endl;
     cout << "Muye:" << Muye << endl;
     cout << "Yu:" << Yu << endl;
     cout << "------------------------------" << endl;
     cout << "temp1: " << temp1 << endl;
     cout << "temp2: " << temp2 << endl;
     cout << "temp3: " << temp3 << endl;
     cout << "temp4: " << temp4 << endl;
     cout << "temp5: " << temp5 << endl;
}
